package com.haq.housesystem.dao;

import com.haq.housesystem.bean.Houses;

import java.util.List;
import java.util.Map;

public interface HousesDao {
    public void insert(Houses houses);
    public void update(Houses houses);
    public void delete(int houseId);
    public void deleteByIds(int[] houseIds);

    public List<Houses> selectAll();
    public Houses selectById(int houseId);
    public List<Houses> selectByTitleTypeOrientState(Map map);

}
